<?php
/**
 * RedCross Application
 *
 * @copyright Copyright (c) 2010, Kristian Stokke Tryggestad, Rune Vikestad, Andreas Flaten Wist, Simen Nicolai Echholt, Ole Henrik Jahren
 */

/**
 * Protection from spamming everyone with shift notification
 *
 * @category RedCross
 * @package Admin_Form_Shift
 */
class Admin_Form_Shift_Notifyall extends RedCross_Form
{
	public function init()
	{
        
    $this->addElement('textarea', 'text', array(
 			'filters'		=> array('StringTrim'),
 			'validators'	=> array(
 				array('StringLength', true, array(1, 512)),
            ),
            'rows' => '5',
            'cols' => '60',
            'label' => 'Tekst (valgfritt):'
 	));

    $this->addElement('submit', 'submit', array(
			'required' => true,
			'ignore'   => true,
			'label'    => 'Send vaktutkalling'
    ));

    }
}
